from applications.extensions import ma
from marshmallow import fields


# history的序列化类
class HistoryOutSchema(ma.Schema):
    history_id = fields.Integer()
    disease_name = fields.Str()
    search_time = fields.DateTime()
    user_id = fields.Str()
    search_acuracy = fields.Str()
    search_img = fields.Str()